﻿<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
<!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->
    <title>人员配置</title>
    <script src="http://apps.bdimg.com/libs/jquery/1.11.3/jquery.min.js"></script>
    <!-- jqGrid组件基础样式包-必要 -->
	    <link href="js/jsgrid/css/bootstrap.min.css?v=3.3.6" rel="stylesheet" />
        <link href="js/jsgrid/css/font-awesome.css?v=4.4.0" rel="stylesheet" />
    <!-- jqgrid-->
        <link href="js/jsgrid/css/plugins/jqgrid/ui.jqgrid.css?0820" rel="stylesheet" />
        <link href="js/jsgrid/css/animate.css" rel="stylesheet" />
    <!-- 全局js -->
        <script src="js/jsgrid/js/bootstrap.min.js?v=3.3.6"></script>
    <!-- Peity -->
        <script src="js/jsgrid/js/plugins/peity/jquery.peity.min.js"></script>
    <!-- jqGrid -->
        <script src="js/jsgrid/js/plugins/jqgrid/i18n/grid.locale-cn.js?0820"></script>
        <script src="js/jsgrid/js/plugins/jqgrid/jquery.jqGrid.min.js?0820"></script>
    <!--jsgrid-->
        <script src="js/tablejqgrid.js"></script>
        <script src="js/login1.js"></script>

        <link href="css/alllayer.css" rel="stylesheet" />
</head>
<body id="setpeople">
    <div class="tab">
        <ul class="nav">
        	<li><a href="#" class="liactive">人员审核</a></li>
            <li><a href="setpoint.html">坐标查看</a></li>
            <li><a href="setwatch.html">值班信息</a></li>
        </ul>
    </div>
    <div class="layertop">
        <button>导 出</button>
        <button>删除</button>
        <button >新 增</button>
        <input type="text" class="searchtext" placeholder="请输入要查找内容" />
        <button class="search" >查 找</button>
    </div>
    <div class="jqGrid_wrapper">
        <table id="list1"></table> 
		<div id="pager1"></div>
    </div>
</body>
</html>
<script>
    $(document).ready(function () {
        $(".search").on("click", function () {
            var searchtext = escape($("input[name=searchval]").val());
            if (searchtext.length <= 0) {
                alert("请输入查找内容");
            } else {
                alert("已点击，等待数据反馈。");
                $("#list1").jqGrid('setGridParam', {
                    url: "",
                    postData: {
                        'name': searchtext,
                    }, //发送数据 
                    page: 1
                }).trigger("reloadGrid"); //重新载入 
            }
        })
    })
</script>